package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.User;
import com.example.domain.Volunteer;

public interface IVolunteerService extends IService<Volunteer> {
//   登录时候的查询条件
    public Volunteer getOne(String name,String phone);
//   添加用户时的查询条件
    public Volunteer getVolunteer(String name);

    IPage<Volunteer> getPageVolunteer(Integer page, Integer size, Integer status);
}
